<input type="text"
value="Please search here"
onClick="removeText(this)"
onBlur="getText(this)"
id="searchId"
>

<script>
  function removeText(){
  obj = document.getElementById('searchId');
    if(obj.value == 'Please search here'){
      obj.value = '';
    }
  }  
  function removeText_____(obj){
    if(obj.value == 'Please search here'){
      obj.value = '';
    }
  }
  function getText(obj){
    if(obj.value == ''){
      obj.value = 'Please search here';
    }
  }
  
</script>
